package com.hq.talk.model;

import java.io.Serializable;

/**
 * 描述 ：处理列表数据
 * 作者 ：hq
 * 时间 ：2017/8/8 20:01
 */
public class CommItemModel implements Serializable {

    /*图片*/
    private int drawable;
    /*标题*/
    private String name;
    /*描述*/
    private String mDesc;
    /*图片链接*/
    private String mPicUrl;
    /*是否有间隙 true 是的*/
    private boolean isDivider;
    /*是否显示右箭头*/
    private boolean isArrow;
    //是否有更新
    private boolean isUpdate;

    public CommItemModel(int drawable, String name, String mDesc, boolean isDivider, boolean isUpdate) {
        this.drawable = drawable;
        this.name = name;
        this.mDesc = mDesc;
        this.isDivider = isDivider;
        this.isUpdate = isUpdate;
    }

    public CommItemModel(int drawable, String name, String mDesc) {
        this.drawable = drawable;
        this.name = name;
        this.mDesc = mDesc;
    }

    public CommItemModel(int drawable, String name, String mDesc, boolean isDivider) {
        this.drawable = drawable;
        this.name = name;
        this.mDesc = mDesc;
        this.isDivider = isDivider;
    }

    public CommItemModel(String name, String mDesc, String mPicUrl, boolean isDivider) {
        this.name = name;
        this.mDesc = mDesc;
        this.mPicUrl = mPicUrl;
        this.isDivider = isDivider;
    }

    public int getDrawable() {
        return drawable;
    }

    public void setDrawable(int drawable) {
        this.drawable = drawable;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getmDesc() {
        return mDesc;
    }

    public void setmDesc(String mDesc) {
        this.mDesc = mDesc;
    }

    public String getmPicUrl() {
        return mPicUrl;
    }

    public void setmPicUrl(String mPicUrl) {
        this.mPicUrl = mPicUrl;
    }

    public boolean isDivider() {
        return isDivider;
    }

    public void setDivider(boolean divider) {
        isDivider = divider;
    }

    public boolean isArrow() {
        return isArrow;
    }

    public void setArrow(boolean arrow) {
        isArrow = arrow;
    }

    public boolean isUpdate() {
        return isUpdate;
    }

    public void setUpdate(boolean update) {
        isUpdate = update;
    }
}
